package com.ruoyi.project.zzuser.info.service.impl;

import com.ruoyi.common.utils.text.Convert;
import com.ruoyi.project.zzuser.info.domain.ZzuserInfo;
import com.ruoyi.project.zzuser.info.mapper.ZzuserInfoMapper;
import com.ruoyi.project.zzuser.info.service.ZzuserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZzuserInfoServiceImpl implements ZzuserInfoService{
    @Autowired
    private ZzuserInfoMapper zzuserInfoMapper;

    @Override
    public List<ZzuserInfo> selectUserList(String userId, String userName, Integer sex, String deptName, Integer status) {
        return zzuserInfoMapper.selectUserList(userId, userName, sex, deptName, status);
    }

    @Override
    public int deleteInfo(String ids) {
        return zzuserInfoMapper.deleteInfo(Convert.toStrArray(ids));
    }


}
